body {
    font-family: "Helvetica Neue",Microsoft Yahei, Helvetica, Arial, sans-serif;
    font-size:14px;
    padding-top: 40px;
}
section{
    padding-top: 45px;
}
.navbar .inner,
.overview .inner,
.banner .inner,
.container .inner,
.footer .inner {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}
.banner .inner{
    color:#d14;
    font-weight: bold;
}
[class^="icon-"] {
    display: inline-block;
    vertical-align: top;
    height: 16px;
    width: 16px;
    background: url(../image/icon_bg.png) no-repeat;
}
[class$="-right"]{
    float: right;
}
.icon-chevron-right{
    background-position:0 -198px;
    opacity: 0.5;
}
.fixed {
    position: fixed;
    top: 40px;
}

a,
a:hover {
    color: #9b8939;
    text-decoration: none;
}

/********** navbar ***********/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 40px;
    line-height: 40px;
    background-color: #1B1B1B;
    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#222), to(#111));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #222, #111);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #222, #111);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #222, #111);
    /* IE 10 */
    background: -ms-linear-gradient(top, #222, #111);
    background: linear-gradient(top, #222, #111);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
}

.navbar .nav {
    float: left;
}

.navbar .nav > li {
    float: left;
    padding: 0 20px;
}

.navbar .nav a {
    color: rgb(153, 153, 153);
    -webkit-transition: color .5s ease;
    -moz-transition: color .5s ease;
    -o-transition: color .5s ease;
    -ms-transition: color .5s ease;
    transition: color .5s ease;
}
.navbar .active {
    position: relative;
    background-color: black;
}
/*.navbar .active:after {*/
    /*position: absolute;*/
    /*left: 50%;*/
    /*bottom: -16px;*/
    /*content: "";*/
    /*height: 0;*/
    /*width: 0;*/
    /*margin-left: -8px;*/
    /*border-width: 0.625em;*/
    /*border-style: solid;*/
    /*border-color: black transparent transparent;*/
    /*overflow: hidden;*/
/*}*/
.navbar .active a {
    color: white;
}
.navbar .brand {
    padding-right: 0;
    padding-left: 0;
    margin-left: 20px;
    float: right;
    font-size:20px;
    font-weight: bold;
    color: black;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .125);
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;
}
.navbar .brand:hover,
.navbar .nav a:hover {
    color: #fff;
    text-decoration: none;
}

/********** overview and subov ***********/
.overview{
    display: block;
    position:relative;
    padding: 40px 0 30px;
    background: #9b8939;
    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#A08F3B), to(#4B3E0D));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(45deg,#A08F3B, #4B3E0D);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(45deg,#A08F3B, #4B3E0D);
    /* Opera 11.10+ */
    background: -o-linear-gradient(45deg,#A08F3B, #4B3E0D);
    /* IE 10 */
    background: -ms-linear-gradient(45deg,#A08F3B, #4B3E0D);
    background: linear-gradient(45deg, #A08F3B,#4B3E0D);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4B3E0D', endColorstr='#A08F3B',GradientType=1 );
    -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
    -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
    box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
    text-align: center;
}
.subov {
    text-align: left;
}
.overview:after{
    position: absolute;
    display: block;
    content: "";
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: url(../image/overview_bg.png);
    opacity: .6;
    filter: alpha(opacity=60);
}
.overview h1{
    margin:10px 0;
    font-size:110px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 0, 0, .075);
}
.subov h1{
    font-size: 60px;
}
.overview p{
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 200;
    line-height: 1.25;
}
.subov p{
    font-size: 20px;
}
.overview p.ver{
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, .25);
}


/********** banner **********/
.banner{
    padding: 15px 0;
    text-align: center;
    background-color: whiteSmoke;
    border-top: 1px solid white;
    border-bottom: 1px solid #DDD
}

 /********** container **********/
.container {
    color: #5a5a5a;
}

.container:before,
.container:after {
    display: table;
    line-height: 0;
    content: "";
}

.container:after {
    clear: both;
}
.container .preface{
    margin-top: 50px;
}
.container .preface h2{
    font-size:50px;
    line-height: 1.5;
}
.container .intro{
    margin:30px 0;
    text-align: center;
    overflow: hidden;
}
.container .intro h3{
    font-size: 30px;
    line-height: 1.5;
}
.container .sect{
    line-height: 2;
}
.container [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 30px;
    margin-left: 3.127659574468085%;
    *margin-left: 3.074468085106383%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.container [class*="span"]:first-child {
    margin-left: 0;
}

.container .span1 {
    width: 30.914893617021278%;
    *width: 30.861702127659576%;
}
.container .span2 {
    width: 24.404255319148934%;
    *width: 24.351063829787233%;
}
.container .span3 {
    width: 72.46808510638297%;
    *width: 72.41489361702126%;
}
.container .aside{
    margin: 40px 0 0;
}
.container .aside-nav{
    width: 258px;
    background-color: white;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
}

.container .aside-nav li:hover a{
    background: #ececf0;
}

.container .aside-nav li a{
    display: block;
    margin: 0 0 -1px;
    padding: 8px 14px;
    border:1px solid #e5e5e5;
}

.container .aside-nav li.cur a{
    color: #fff;
    background: #9b8939;
}
.container .aside-nav li:first-child a{
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;

}
.container .aside-nav li:last-child a{
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;

}

.page-header h1{
    font-size: 36px;
}

/********** footer **********/
.footer{
    display: block;
    padding: 30px 0;
    margin-top: 70px;
    border-top: 1px solid #E5E5E5;
    background-color: whiteSmoke;
    color: #bbb;
    /*height:24px*/
}

/********** Example & Code **********/
.page-header {
    padding-bottom: 9px;
    margin-bottom: 30px;
    border-bottom: 1px solid #EEE;
}
.example,
.prettyprint{
    position: relative;
    margin: 15px 0 0;
    padding: 34px 20px 10px;
    background-color: white;
    border: 1px solid #DDD;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.prettyprint{
    background-color: whiteSmoke;
    padding: 20px 10px;
    z-index: -1;
}
.example:after{
    content: "Example";
    position: absolute;
    top:-1px;
    left: -1px;
    padding: 3px 7px;
    border: 1px solid #DDD;
    background-color: whiteSmoke;
    font-size: 11px;
    font-weight: bold;
    color: #9DA0A4;
    -webkit-border-radius: 4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;

}

.sign:after{
    content: "Code";
    position: absolute;
    top:-1px;
    right: -1px;
    padding: 3px 7px;
    border: 1px solid #DDD;
    background-color: white;
    font-size: 11px;
    font-weight: bold;
    color: #9b8939;
    -webkit-border-radius: 0 4px 0 4px;
    -moz-border-radius: 0 4px 0 4px;
    border-radius: 0 4px 0 4px;
}

code {
    margin: 0 3px;
    padding: 2px 4px;
    color: #d14;
    background-color: whiteSmoke;
    border: 1px solid #DDD;
    font-family: consolas;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.explain,
.syntax{
    position: relative;
    padding-left: 70px;
    margin:8px 0;
}

.explain::before,
.syntax::before {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 45px;
    padding-left: 25px;
    font-weight: bold;
}
.explain::before {
    content: '说明：';
    background: url(../image/icon_bg.png) no-repeat 0 -222px;
}
.syntax::before {
    content: '语法：';
    background: url(../image/icon_bg.png) no-repeat 0 -175px;
}
.alert {
    margin: 15px 0;
    line-height: 28px;
}
.yellow {
    color:#9b8939;
}

/********** table **********/
table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

.table {
    width: 100%;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 8px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}

.table th {
    font-weight: bold;
}

.table thead th {
    vertical-align: bottom;
}

.table caption + thead tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
    border-top: 0;
}

.table tbody + tbody {
    border-top: 2px solid #dddddd;
}

.table .table {
    background-color: #ffffff;
}

.table-condensed th,
.table-condensed td {
    padding: 4px 5px;
}

.table-bordered {
    border: 1px solid #dddddd;
    border-collapse: separate;
    *border-collapse: collapse;
    border-left: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.table-bordered th,
.table-bordered td {
    border-left: 1px solid #dddddd;
}

.table-bordered caption + thead tr:first-child th,
.table-bordered caption + tbody tr:first-child th,
.table-bordered caption + tbody tr:first-child td,
.table-bordered colgroup + thead tr:first-child th,
.table-bordered colgroup + tbody tr:first-child th,
.table-bordered colgroup + tbody tr:first-child td,
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
    border-top: 0;
}

.table-bordered thead:first-child tr:first-child > th:first-child,
.table-bordered tbody:first-child tr:first-child > td:first-child,
.table-bordered tbody:first-child tr:first-child > th:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

.table-bordered thead:first-child tr:first-child > th:last-child,
.table-bordered tbody:first-child tr:first-child > td:last-child,
.table-bordered tbody:first-child tr:first-child > th:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

.table-bordered thead:last-child tr:last-child > th:first-child,
.table-bordered tbody:last-child tr:last-child > td:first-child,
.table-bordered tbody:last-child tr:last-child > th:first-child,
.table-bordered tfoot:last-child tr:last-child > td:first-child,
.table-bordered tfoot:last-child tr:last-child > th:first-child {
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
}

.table-bordered thead:last-child tr:last-child > th:last-child,
.table-bordered tbody:last-child tr:last-child > td:last-child,
.table-bordered tbody:last-child tr:last-child > th:last-child,
.table-bordered tfoot:last-child tr:last-child > td:last-child,
.table-bordered tfoot:last-child tr:last-child > th:last-child {
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
}

.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
    -webkit-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
}

.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
}

.table-bordered caption + thead tr:first-child th:first-child,
.table-bordered caption + tbody tr:first-child td:first-child,
.table-bordered colgroup + thead tr:first-child th:first-child,
.table-bordered colgroup + tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

.table-bordered caption + thead tr:first-child th:last-child,
.table-bordered caption + tbody tr:first-child td:last-child,
.table-bordered colgroup + thead tr:first-child th:last-child,
.table-bordered colgroup + tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
    background-color: #f9f9f9;
}

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
    background-color: #f5f5f5;
}

table td[class*="span"],
table th[class*="span"],
.row-fluid table td[class*="span"],
.row-fluid table th[class*="span"] {
    display: table-cell;
    float: none;
    margin-left: 0;
}

/********** node *********/
.node {
    border-width: 1px ;
    border-style: solid;
    vertical-align:top;
}

.node-brown {
    background-color: #CFAD9B;
    border-color: #AA775D;
    color: #9D3B09;
}
.node-purple{
    background-color: #C6A5C8;
    border-color: #98679C;
    color: #880A90;
}
.node-blue{
    background-color: #D9EDF7;
    border-color:#B2DAF1;
    color: #3A87AD;
}
.node-green{
    background-color: #B5DB9C;
    border-color: #64AB57;
    color: #3D9404;
}
.node-yellow{
    background-color: #F3E79B;
    border-color: #CFAE51;
    color: #B59F12;
}
.node-orange{
    background-color: #F2BA9F;
    border-color: #E08558;
    color: #C15928;
}
.node-red {
    background-color: #F7C4CB;
    border-color: #C36676;
    color: #D74B60;
}

